package com.itita.ww2.handler.requesthandler.shop;

import com.smartfoxserver.v2.annotations.MultiHandler;
import com.itita.ww2.core.AbstractClientRequestHandler;

@MultiHandler
public class ShopHandler extends AbstractClientRequestHandler {
	public static final String COMMAND_PREFIX = "shop"; // 前缀

	@Override
	protected void init() {
		addClientRequestItem("buy_res", BuyResource.class);// 购买资源
		addClientRequestItem("fill_fatigue", FillFatigue.class); // 补满疲劳
		//		 addClientRequestItem("buy_item", BuyGeneral.class); // 购买物品
		//		 addClientRequestItem("sell_item", SellGeneral.class); // 出售物品
	}

	@Override
	protected void setCommandPrefix() {
		super.cmd_prefix = COMMAND_PREFIX;
	}

}
